﻿using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Interface
{
    /// <summary>
    /// 新建付款单DTO
    /// </summary>
    public class KingDee_SaveResultDTO
    {
        /// <summary>
        /// 返回结果
        /// </summary>
        public Result_ Result { get; set; }
        public class Result_
        {
            /// <summary>
            /// 结果状态
            /// </summary>
            public ResponseStatus_ ResponseStatus { get; set; }

           

            public class ResponseStatus_
            {
                public bool IsSuccess { get; set; }
                /// <summary>
                /// 错误信息
                /// </summary>
                public List<Errors_> Errors { get; set; }

                public class Errors_
                {
                    public string FieldName { get; set; }
                    public string Message { get; set; }
                    public int DIndex { get; set; }

                }


                /// <summary>
                /// 保存/创建成功的单据
                /// </summary>
                public List<SuccessEntitys_> SuccessEntitys { get; set; }

                public class SuccessEntitys_
                {
                    public string Id { get; set; }
                    public string Number { get; set; }
                    public int DIndex { get; set; }

                }
                public object SuccessMessages { get; set; }
                public int MsgCode { get; set; }
            }

            public object NeedReturnData { get; set; }
        }



    }
}
